package com.luo.service.impl;

import com.luo.pojo.dto.ProductsDTO;
import com.luo.pojo.po.Products;
import com.luo.mapper.ProductsMapper;
import com.luo.service.IProductsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author luo
 * @since 2025-06-24
 */
@Service
public class ProductsServiceImpl extends ServiceImpl<ProductsMapper, Products> implements IProductsService {

    @Override
    public List<ProductsDTO> Inquire(String keyword) {
        List<ProductsDTO> productsDTOS = baseMapper.Inquire(keyword);
        return productsDTOS;
    }
}
